package com.itmayiedu;

import com.spring4all.swagger.EnableSwagger2Doc;
import io.swagger.annotations.Api;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @description: eureka测试启动类
 * @EnableEurekaClient [将该服务注册到eureka注册中心]
 * @EnableSwagger2Doc [服务开启swagger接口管理平台，无需编写swagger配置文件类]
 * @author: liucancan
 * @create: 2018-11-03 16:29
 */
@SpringBootApplication
@EnableEurekaClient
@EnableSwagger2Doc
@Api("会员项目接口平台")
public class AppMember {
    public static void main(String[] args) {
        SpringApplication.run(AppMember.class, args);
    }
}
